package com.example.cinema;

public class Hall {
    private String name;
    private int rowCount;
    private int seatPerRow;

    public Hall(String name, int rowCount, int seatPerRow) {
        this.name = name;
        this.rowCount = rowCount;
        this.seatPerRow = seatPerRow;
    }

    public int getTotalSeats() { return rowCount * seatPerRow; }

    // getter
    public String getName() { return name; }
    public int getRowCount() { return rowCount; }
    public int getSeatPerRow() { return seatPerRow; }
}